package public

//这里定义错误模板
//{}代表替换参数

//storage错误
const (
	DefaultErr       = "An error is defined here, {} message is {}"
	OpeFileErr       = "File request failed"
	GetIpErr         = "Unable to get IP"
	AnalysisTokenErr = "Error parsing token {}"
)

//public错误
const (
	TokenErr        = `This is an incorrect Token "{}"`
	TokenExpiredErr = "This is an expired Token {}"
)

//tracker错误
const (
	IpIsLan           = "This is not an Intranet IP {}"
	SendServerNotRecv = "The other server is not responding addr is {}"
	NotStorageServer  = "Not a single storage server is available"
	ElseErr           = "An unexpected mistake"
)

//etc错误
